package com.bdqn.tsyyds.service.book;

import com.bdqn.tsyyds.entity.BookCategory;
import com.bdqn.tsyyds.repository.BookCategoryRepostiory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BookCategoryServicelmp implements BookCategoryService {
    @Resource
    BookCategoryRepostiory bookCategoryRepostiory;

    @Override
    public List<BookCategory> finalll() {
        return bookCategoryRepostiory.findAll();
    }
}
